from dataclasses import dataclass

from src.application.common.exceptions import ApplicationException


@dataclass
class ServerIdNotExist(ApplicationException):
    server_id: int

    @property
    def message(self) -> str:
        return f'A server with the "{self.server_id}" server_id is not exists'
